package com.spark.trouble.model

/**
 * 选择考核标准-目录
 */
data class ChkStdDirFilterModel(
        var msg: String = "", // 成功
        var code: String = "", // 200
        var data: Data = Data(), // null
        var resultMaps: List<ResultMap> = listOf()
) {

    data class ResultMap(
            var name: String = "", // 风筒敷设
            var id: Int = 0, // 5
            var parent_id: Int = 0, // 2
            var isChecked: Boolean = false
    )

    data class Data(
            var treejson: String = "" // [{"id":1,  "name":"通风","children":[{"id":2,  "name":"局部通风","children":[{"id":5,  "name":"风筒敷设","children":[]}]},{"id":6,  "name":"全局通风","children":[]}]}]
    )
}
